package pers.cj.pdos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.SaleOrderGoods;
import pers.cj.pdos.entity.SaleOrderPacket;

import java.util.List;

/**
 * <p>
 * 销售订单中含有的套餐 Mapper 接口
 * </p>
 *
 * @author chenj
 * @since 2020-04-04
 */
public interface SaleOrderPacketMapper extends BaseMapper<SaleOrderPacket> {

    void insertBatch(@Param("list") List<SaleOrderPacket> list);

    long countWaitNumber(@Param("saleOrderId") String saleOrderId);

    long countNumber(@Param("saleOrderId")String saleOrderId);
}
